package com.scorpio.goods.mapper;

import com.scorpio.common.dao.BaseDao;
import com.scorpio.goods.domain.GoodsCategoryEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品类目Mapper接口
 *
 * @author scorpio
 * @date 2021-11-03
 */
@Mapper
public interface GoodsCategoryMapper extends BaseDao<GoodsCategoryEntity> {

    List<GoodsCategoryEntity> appList(@Param("id") Long id);

    int updateDelete(@Param("ids") Long[] ids);

    int countByParent(@Param("pid")Long pid);
}
